using System;

namespace SQLServices.Log
{

	public interface IMessageLogger
	{
		void LogMessage(string message);
		void LogMessage(string message, MsgLevel level);
	}

	[Flags]
	public enum MsgLevel
	{
		None = 0,
		ErrorBit = 1,
		Error = ErrorBit,
		WarnBit = 2,
		Warn = Error | WarnBit,
		InfoBit = 4,
		Info = Warn | InfoBit,
		DebugBit = 8,
		Debug = Info | DebugBit
	}
}